import serve from "./server";
import server from "./server";

export const query = {
  pageSize:10,
  pageNum:1
}


export function getSuccNew() {
  return server({
    url: "/succnews/all",
    params:query
  });
}


export function getDelById(id:number){
  return serve({
    url:'/succnews/del/'+id
  })
}
